<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="p" uri="/WEB-INF/tld/page.tld" %>
<table class="table table-striped table-bordered bootstrap-datatable responsive">
    <thead>
    <tr>
    	<th></th>
        <th>票品名称</th>
        <th>所属景区</th>
        <th>进价</th>
        <th>市场价</th>
        <th>库存数量</th>
        <th>有效时间</th>
    </tr>
    </thead>
    <tbody>
    <c:forEach items="${tickets }" var="ticket">
    <tr>
    	<td><input type="checkbox" name="ticket_id" value="${ticket.ticket_info_id }"></td>
        <td>${ticket.name }</td>
        <td class="center">${ticket.scene_name }</td>
        <td class="center">${ticket.buyin_price }</td>
        <td class="center">${ticket.list_price }</td>
        <td class="center">${ticket.inventory }</td>
        <td class="center">${ticket.from_time }-${ticket.end_time }</td>
    </tr>
    </c:forEach>
    </tbody>
</table>
<%-- <p:page map="${page }"/> --%>